<?php
include 'header.php';
// <table><tr><td>
# main page, either show login screen or alert summary based on whether user is authenticated
?>
<?php
if ($_REQUEST['password'] != '')
{
  # process_login.php set either $_SESSION['authorized_user'] or $_SESSION['login_status']
  include 'process_login.php';
}

if ($_SESSION['authorized_user'] == '')
{
  # change login.php to include $_SESSION['login_status']
  include 'login_screen.php';
}
else
{
  include 'alert_summary.php';
}
?>

<?php
// </td></tr></table>
include 'footer.php';
?>